Home
last modified time | relevance | path

Searched refs:AV_RL16 (Results 1 – 25 of 130) sorted by relevance

123456

/third_party/ffmpeg/libavformat/
Dflic.c67 magic_number = AV_RL16(&p->buf[4]); in flic_probe()
73 if(AV_RL16(&p->buf[0x10]) != FLIC_CHUNK_MAGIC_1){ in flic_probe()
78 if( AV_RL16(&p->buf[0x08]) > 4096 in flic_probe()
79 || AV_RL16(&p->buf[0x0A]) > 4096) in flic_probe()
102 magic_number = AV_RL16(&header[4]); in flic_read_header()
115 st->codecpar->width = AV_RL16(&header[0x08]); in flic_read_header()
116 st->codecpar->height = AV_RL16(&header[0x0A]); in flic_read_header()
146 if (AV_RL16(&preamble[4]) == FLIC_TFTD_CHUNK_AUDIO) { in flic_read_header()
171 } else if (AV_RL16(&header[0x10]) == FLIC_CHUNK_MAGIC_1) { in flic_read_header()
216 magic = AV_RL16(&preamble[4]); in flic_read_packet()
Dmm.c67 if (AV_RL16(&p->buf[0]) != MM_TYPE_HEADER) in probe()
72 fps = AV_RL16(&p->buf[8]); in probe()
73 w = AV_RL16(&p->buf[12]); in probe()
74 h = AV_RL16(&p->buf[14]); in probe()
77 type = AV_RL16(&p->buf[len]); in probe()
153 type = AV_RL16(&preamble[0]); in read_packet()
154 length = AV_RL16(&preamble[2]); in read_packet()
Dsierravmd.c72 if (AV_RL16(&p->buf[0]) != VMD_HEADER_SIZE - 2) in vmd_probe()
74 w = AV_RL16(&p->buf[12]); in vmd_probe()
75 h = AV_RL16(&p->buf[14]); in vmd_probe()
76 sample_rate = AV_RL16(&p->buf[804]); in vmd_probe()
107 width = AV_RL16(&vmd->vmd_header[12]); in vmd_read_header()
108 height = AV_RL16(&vmd->vmd_header[14]); in vmd_read_header()
136 vmd->sample_rate = AV_RL16(&vmd->vmd_header[804]); in vmd_read_header()
146 st->codecpar->block_align = AV_RL16(&vmd->vmd_header[806]); in vmd_read_header()
181 vmd->frame_count = AV_RL16(&vmd->vmd_header[6]); in vmd_read_header()
182 vmd->frames_per_block = AV_RL16(&vmd->vmd_header[18]); in vmd_read_header()
[all …]
Dwestwood_vqa.c107 st->codecpar->width = AV_RL16(&header[6]); in wsvqa_read_header()
108 st->codecpar->height = AV_RL16(&header[8]); in wsvqa_read_header()
111 st->duration = AV_RL16(&header[4]); in wsvqa_read_header()
118 wsvqa->version = AV_RL16(&header[ 0]); in wsvqa_read_header()
119 wsvqa->sample_rate = AV_RL16(&header[24]); in wsvqa_read_header()
229 pkt->duration = AV_RL16(pkt->data) / wsvqa->channels; in wsvqa_read_packet()
Dpsxstr.c98 int current_sector = AV_RL16(&sector[0x1C]); in str_probe()
99 int sector_count = AV_RL16(&sector[0x1E]); in str_probe()
182 int current_sector = AV_RL16(&sector[0x1C]); in str_read_packet()
183 int sector_count = AV_RL16(&sector[0x1E]); in str_read_packet()
205 st->codecpar->width = AV_RL16(&sector[0x28]); in str_read_packet()
206 st->codecpar->height = AV_RL16(&sector[0x2A]); in str_read_packet()
Ddtsdec.c52 if (AV_RL16(buf) || AV_RL16(buf-4)) { in dts_probe()
53 diff += FFABS(((int16_t)AV_RL16(buf)) - (int16_t)AV_RL16(buf-4)); in dts_probe()
Dmtv.c71 if(!(p->buf[51] && AV_RL16(&p->buf[52]) | AV_RL16(&p->buf[54]))) in mtv_probe()
75 if(!AV_RL16(&p->buf[52]) || !AV_RL16(&p->buf[54])) in mtv_probe()
77 if(!!AV_RL16(&p->buf[56])) in mtv_probe()
Dwestwood_aud.c63 field = AV_RL16(&p->buf[0]); in wsaud_probe()
93 sample_rate = AV_RL16(&header[0]); in wsaud_read_header()
146 chunk_size = AV_RL16(&preamble[0]); in wsaud_read_packet()
153 int out_size = AV_RL16(&preamble[2]); in wsaud_read_packet()
Dipmovie.c303 chunk_size = AV_RL16(&chunk_preamble[0]); in process_ipmovie_chunk()
304 chunk_type = AV_RL16(&chunk_preamble[2]); in process_ipmovie_chunk()
354 opcode_size = AV_RL16(&opcode_preamble[0]); in process_ipmovie_chunk()
392 s->frame_pts_inc = ((uint64_t)AV_RL32(&scratch[0])) * AV_RL16(&scratch[4]); in process_ipmovie_chunk()
407 s->audio_sample_rate = AV_RL16(&scratch[4]); in process_ipmovie_chunk()
408 audio_flags = AV_RL16(&scratch[2]); in process_ipmovie_chunk()
446 width = AV_RL16(&scratch[0]) * 8; in process_ipmovie_chunk()
447 height = AV_RL16(&scratch[2]) * 8; in process_ipmovie_chunk()
456 if (opcode_version < 2 || !AV_RL16(&scratch[6])) { in process_ipmovie_chunk()
518 first_color = AV_RL16(&scratch[0]); in process_ipmovie_chunk()
[all …]
Dicodec.c50 if (p->buf_size < 22 || AV_RL16(p->buf) || AV_RL16(p->buf + 2) != 1) in probe()
52 frames = AV_RL16(p->buf + 4); in probe()
57 if (AV_RL16(p->buf + 10 + i * 16) & ~1) in probe()
196 st->codecpar->bits_per_coded_sample = AV_RL16(buf + 14); in read_packet()
Didroqdec.c64 if ((AV_RL16(&p->buf[0]) != RoQ_MAGIC_NUMBER) || in roq_probe()
81 roq->frame_rate = AV_RL16(&preamble[6]); in roq_read_header()
117 chunk_type = AV_RL16(&preamble[0]); in roq_read_packet()
139 st->codecpar->width = roq->width = AV_RL16(preamble); in roq_read_packet()
140 st->codecpar->height = roq->height = AV_RL16(preamble + 2); in roq_read_packet()
Dmms.c98 flags = AV_RL16(p + sizeof(ff_asf_guid)*3 + 24); in ff_mms_asf_header_parser()
120 int stream_count = AV_RL16(p + 84), ext_len_count = AV_RL16(p + 86); in ff_mms_asf_header_parser()
128 skip_bytes += 4 + AV_RL16(p + skip_bytes + 2); in ff_mms_asf_header_parser()
Dmspdec.c45 sum ^= AV_RL16(p->buf + i); in msp_probe()
47 return AV_RL16(p->buf + 24) == sum ? AVPROBE_SCORE_MAX : 0; in msp_probe()
98 size += AV_RL16(&pkt->data[i * 2]); in msp_read_packet()
Dtta.c41 (AV_RL16(&p->buf[4]) == 1 || AV_RL16(&p->buf[4]) == 2) && in tta_probe()
42 AV_RL16(&p->buf[6]) > 0 && in tta_probe()
43 AV_RL16(&p->buf[8]) > 0 && in tta_probe()
Dbit.c38 if (AV_RL16(&p->buf[2 * i++]) != SYNC_WORD) in probe()
40 j = AV_RL16(&p->buf[2 * i++]); in probe()
103 put_bits(&pbo,1, AV_RL16(src++) == BIT_1 ? 1 : 0); in read_packet()
/third_party/ffmpeg/libavcodec/
Ddxv.c548 tab0[0x9E3779B1 * AV_RL16(dst) >> 24] = dst; in dxv_decompress_cgo()
556 AV_WL16(dst + 2, AV_RL16(tptr3)); in dxv_decompress_cgo()
560 tab0[0x9E3779B1 * AV_RL16(dst) >> 24] = dst; in dxv_decompress_cgo()
569 AV_WL16(dst + 5, AV_RL16(tptr3)); in dxv_decompress_cgo()
571 tab0[0x9E3779B1 * AV_RL16(dst) >> 24] = dst; in dxv_decompress_cgo()
582 AV_WL16(dst + 2, AV_RL16(tptr0)); in dxv_decompress_cgo()
584 AV_WL16(dst + 5, AV_RL16(tptr1)); in dxv_decompress_cgo()
586 tab0[0x9E3779B1 * AV_RL16(dst) >> 24] = dst; in dxv_decompress_cgo()
594 AV_WL16(dst + 2, AV_RL16(tptr0 + 2)); in dxv_decompress_cgo()
596 tab0[0x9E3779B1 * AV_RL16(dst) >> 24] = dst; in dxv_decompress_cgo()
[all …]
Ddpxenc.c108 value = ((AV_RL16(src + 6*x + 4) & 0xFFC0U) >> 4) in encode_rgb48_10bit()
109 | ((AV_RL16(src + 6*x + 2) & 0xFFC0U) << 6) in encode_rgb48_10bit()
110 | ((AV_RL16(src + 6*x + 0) & 0xFFC0U) << 16); in encode_rgb48_10bit()
133 value = (AV_RL16(src[0] + 2*x) << 12) in encode_gbrp10()
134 | (AV_RL16(src[1] + 2*x) << 2) in encode_gbrp10()
135 | ((unsigned)AV_RL16(src[2] + 2*x) << 22); in encode_gbrp10()
162 value[1] = AV_RL16(src[0] + x) << 4; in encode_gbrp12()
163 value[2] = AV_RL16(src[1] + x) << 4; in encode_gbrp12()
164 value[0] = AV_RL16(src[2] + x) << 4; in encode_gbrp12()
Dmsvideo1.c242 colors[0] = AV_RL16(&s->buf[stream_ptr]); in msvideo1_decode_16bit()
244 colors[1] = AV_RL16(&s->buf[stream_ptr]); in msvideo1_decode_16bit()
250 colors[2] = AV_RL16(&s->buf[stream_ptr]); in msvideo1_decode_16bit()
252 colors[3] = AV_RL16(&s->buf[stream_ptr]); in msvideo1_decode_16bit()
254 colors[4] = AV_RL16(&s->buf[stream_ptr]); in msvideo1_decode_16bit()
256 colors[5] = AV_RL16(&s->buf[stream_ptr]); in msvideo1_decode_16bit()
258 colors[6] = AV_RL16(&s->buf[stream_ptr]); in msvideo1_decode_16bit()
260 colors[7] = AV_RL16(&s->buf[stream_ptr]); in msvideo1_decode_16bit()
Dptx.c39 offset = AV_RL16(buf); in ptx_decode_frame()
40 w = AV_RL16(buf+8); in ptx_decode_frame()
41 h = AV_RL16(buf+10); in ptx_decode_frame()
42 bytes_per_pixel = AV_RL16(buf+12) >> 3; in ptx_decode_frame()
Deatgv.c163 num_mvs = AV_RL16(&buf[0]); in tgv_decode_inter()
164 num_blocks_raw = AV_RL16(&buf[2]); in tgv_decode_inter()
165 num_blocks_packed = AV_RL16(&buf[4]); in tgv_decode_inter()
166 vector_bits = AV_RL16(&buf[6]); in tgv_decode_inter()
288 s->width = AV_RL16(&buf[0]); in tgv_decode_frame()
289 s->height = AV_RL16(&buf[2]); in tgv_decode_frame()
297 pal_count = AV_RL16(&buf[6]); in tgv_decode_frame()
Deacmv.c139 s->width = AV_RL16(&buf[4]); in cmv_process_header()
140 s->height = AV_RL16(&buf[6]); in cmv_process_header()
152 fps = AV_RL16(&buf[10]); in cmv_process_header()
156 pal_start = AV_RL16(&buf[12]); in cmv_process_header()
157 pal_count = AV_RL16(&buf[14]); in cmv_process_header()
Dtexturedsp.c90 uint16_t color0 = AV_RL16(block + 0); in dxt1_block_internal()
91 uint16_t color1 = AV_RL16(block + 2); in dxt1_block_internal()
144 uint16_t color0 = AV_RL16(block + 8); in dxt3_block_internal()
145 uint16_t color1 = AV_RL16(block + 10); in dxt3_block_internal()
151 const uint16_t alpha_code = AV_RL16(block + 2 * y); in dxt3_block_internal()
259 uint16_t color0 = AV_RL16(block + 8); in dxt5_block_internal()
260 uint16_t color1 = AV_RL16(block + 10); in dxt5_block_internal()
/third_party/ffmpeg/libavutil/tomi/
Dintreadwrite.h53 #define AV_RL16 AV_RL16 macro
54 static av_always_inline uint16_t AV_RL16(const void *p) in AV_RL16() function
/third_party/ffmpeg/libswscale/
Dgamma.c44 uint16_t r = AV_RL16(src1 + j*4 + 0); in gamma_convert()
45 uint16_t g = AV_RL16(src1 + j*4 + 1); in gamma_convert()
46 uint16_t b = AV_RL16(src1 + j*4 + 2); in gamma_convert()
/third_party/ffmpeg/libavutil/avr32/
Dintreadwrite.h42 #define AV_RL16 AV_RL16 macro
43 static av_always_inline uint16_t AV_RL16(const void *p) in AV_RL16() function

123456