MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / rv34_process_block

Function rv34_process_block

libavcodec/rv34.c:1028–1041  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1026}
1027
1028static inline void rv34_process_block(RV34DecContext *r,
1029 uint8_t *pdst, int stride,
1030 int fc, int sc, int q_dc, int q_ac)
1031{
1032 int16_t *const ptr = r->block;
1033 int has_ac = rv34_decode_block(ptr, &r->gb, r->cur_vlcs,
1034 fc, sc, q_dc, q_ac, q_ac);
1035 if(has_ac){
1036 r->rdsp.rv34_idct_add(pdst, stride, ptr);
1037 }else{
1038 r->rdsp.rv34_idct_dc_add(pdst, stride, ptr[0]);
1039 ptr[0] = 0;
1040 }
1041}
1042
1043static void rv34_output_i16x16(RV34DecContext *r, int8_t *intra_types, int cbp)
1044{

Callers 3

rv34_output_i16x16Function · 0.85
rv34_output_intraFunction · 0.85

Calls 1

rv34_decode_blockFunction · 0.85

Tested by

no test coverage detected